package com.gitee.wsl.security.encrypt.sm4.service

/**
 * @author cqp
 * @version 1.0.0
 * @ClassName SM4Service.java
 * @Description TODO
 * @createTime 2021年04月22日 14:04:00
 */
interface SM4Service {
    // encrypt ECB加密
    fun encrypt_ECB(message: String): String?

    // decrypt ECB解密
    fun decrypt_ECB(cipherText: String): String?

    // encrypt CBC加密
    fun encrypt_CBC(message: String): String?

    // decrypt CBC解密
    fun decrypt_CBC(cipherText: String): String?
}
